package com.ajmd.onlineexam.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/**
 * @author ajmd
 * @since 2023/4/16 14:46
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
//@Component
public class SearchParam implements Serializable {
    //常规
    private String searchValue;

    private Date startTime;
    private Date endTime;
    //试题
    private Integer questionType;//1单选，2多选，3判断，4问答，5填空
    private Integer difficulty;//0简单，1中等，2困难
    private Integer gradeMethod;//0系统评分，1人工评分

    //考试
    private Integer during;//以当前时间为中间点，前后during天
}
